package cn.janescott.inner.space.data.system.dto;

import java.util.Date;

/**
 * 用户对象
 *
 * @author scott
 * @date 2018/7/25
 */
public class UserDTO implements java.io.Serializable {
    private Long userId;

    private String username;

    private String password;

    private String nickname;

    private String email;

    private String phone;

    private Date registerTime;

    private Date lastLoginTime;

    private Date lastModifyPassword;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getLastModifyPassword() {
        return lastModifyPassword;
    }

    public void setLastModifyPassword(Date lastModifyPassword) {
        this.lastModifyPassword = lastModifyPassword;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", registerTime=" + registerTime +
                ", lastLoginTime=" + lastLoginTime +
                ", lastModifyPassword=" + lastModifyPassword +
                '}';
    }
}
